package com.bw.finance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bw.finance.conf.ResponseResult;
import com.bw.finance.eneity.locana.EbankLoanInfo;
import com.bw.finance.eneity.user.EbankBorrower;
import com.bw.finance.eneity.user.res.Loginuser;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lizhengqian
 * @since 2020-08-17
 */
public interface IEbankBorrowerService extends IService<EbankBorrower> {

    ResponseResult getBorrowerList(int pagenum, int pagenum1, EbankBorrower ebankBorrower);

    ResponseResult toBlackName(Long id);

    ResponseResult login(Loginuser user, HttpServletResponse response);

    ResponseResult emailcheck(EbankBorrower borrower);

    EbankBorrower getborrowone(EbankLoanInfo ebankLoanInfo);

    ResponseResult finduser(Long id, Integer type);
}
